package org.jeecg.modules.scm.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecg.common.aspect.EnableDict;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: scm_fina_apply
 * @Author: jeecg-boot
 * @Date:   2021-11-10
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="融资申请与任务")
public class FinaApplyTaskVo implements Serializable , EnableDict {
    private static final long serialVersionUID = 1L;

	/**申请号*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "申请号")
    private Integer applyNo;
	/**融资申请人客户*/
    @ApiModelProperty(value = "融资申请人")
    private String cusName;
    /**核心企业*/
    @ApiModelProperty(value = "核心企业")
    private String coreCusName;
	/**融资项目*/
    @ApiModelProperty(value = "融资项目")
    private String itemName;
	/**融资币种*/
    @ApiModelProperty(value = "融资币种")
    @Dict(dicCode = "fina_currency")
    private Integer finaCurrency;
	/**融资申请日*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "融资申请日")
    private Date applyDate;
	/**融资到期日*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "融资到期日")
    private Date applyDdl;
	/**执行利率*/
    @ApiModelProperty(value = "执行利率")
    private Double executionRates;
	/**收款账号,银行*/
    @ApiModelProperty(value = "收款账号,银行")
    private Integer paymentAccount;
	/**担保方式*/
    @ApiModelProperty(value = "担保方式")
    private Integer assureMeans;
	/**资金方*/
    @ApiModelProperty(value = "资金方")
    private String fullName;
	/**基础贸易合同资料*/
    @ApiModelProperty(value = "基础贸易合同资料")
    private String tradeContract;
	/**摘要*/
    @ApiModelProperty(value = "摘要")
    private String applyAbstract;
	/**附件,支持多个*/
    @ApiModelProperty(value = "附件,支持多个")
    private String attachment;
	/**融资申请状态*/
    @ApiModelProperty(value = "融资申请状态")
    @Dict(dicCode = "fina_status")
    private Integer applyState;
    /**建立日期*/
    @Excel(name = "建立日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "建立日期")
    private Date creatTime;
    /**建立用户*/
    @Excel(name = "建立用户", width = 15)
    @ApiModelProperty(value = "建立用户")
    private String createBy;
    /**最后修改日期*/
    @Excel(name = "最后修改日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最后修改日期")
    private Date updateTime;
    /**最后修改用户*/
    @Excel(name = "最后修改用户", width = 15)
    @ApiModelProperty(value = "最后修改用户")
    private String updateBy;
	/**任务Id*/
    @ApiModelProperty(value = "任务Id")
    private String taskId;
    /**任务名称*/
    @ApiModelProperty(value = "任务名称")
    private String taskName;
    /**实例Id*/
    @ApiModelProperty(value = "实例Id")
    private String instanceId;

    /**融资金额*/
    @ApiModelProperty(value = "融资金额")
    private Double finaAmount;
	/**备注*/
    @ApiModelProperty(value = "备注")
    private String note;

}
